home *** CD-ROM | disk | FTP | other *** search
/ Font Heaven / Font Heaven.iso / fontaps / fontfind / fontfind.doc < prev    next >
Text File  |  1992-12-02  |  9KB  |  196 lines

  1. FONTFIND.EXE - PostScript Font Finder
  2. Windows Version 1.0, December 1992
  3. written by Ivan Gonzalez, CIS 72540,433
  4.  
  5. -------------------------------------------------------------------
  6. - I assume whoever is going to use this program is using Adobe
  7.   Type Manager.
  8. - This program will only work with PostScript PFMs and it is 
  9.   limited to 1024.
  10. -------------------------------------------------------------------
  11.  
  12. What does PostScript Font Finder does?
  13.  
  14. PostScript Font Finder is a Windows utility that will allow you to 
  15. find the Windows Menu Name + Attributes that must be selected within
  16. Windows applications to obtain a PostScript font, it can also show
  17. you what the font looks like if it is installed under windows.
  18.  
  19. PostScript Font Finder was written in Visual Basic 1.0 so you would 
  20. need the Visual Basic Run Time Library "VBRUN100.DLL", this file can 
  21. be found in CIS, MSBASIC Forum, Lib 5 as VBRUN.ZIP
  22.  
  23. Why did I write this Utility?
  24.  
  25. I will better explain this with an example:
  26.  
  27. Font Package #57 from the Adobe Type Library "Itc Kabel" includes
  28. the following fonts:
  29.  
  30.          ITC Kabel book
  31.          ITC Kabel medium
  32.          ITC Kabel demi
  33.          ITC Kabel bold
  34.          ITC Kabel ultra
  35.          
  36. After installing them in windows, when you try to access them, all you 
  37. see in the Windows Apps's Menus are entries for ITCKabel book, medium 
  38. and ultra and you wonder how to select the two that are missing (demi 
  39. and bold) well I check the PFM files with a software from Vincent Chen 
  40. [76636,415] call WPFMFIX and I found that to get ITC Kabel demi I should 
  41. indicate ITC Kabel book and apply bold to it also to get ITC Kabel Bold
  42. I have to select ITC Kabel medium and apply bold to it.
  43.  
  44. Anyhow, with a little experience it would have not been to difficult to 
  45. figure this one out as there are only 5 fonts in the package but what
  46. about expert packages that usually come with 8 to 12 fonts.
  47.  
  48. So, I wrote down this program with Visual Basic that read all the PFM 
  49. files in the sub-directory selected and creates a database with the
  50. PostScript Font name, Windows Menu name, attributes and DOS File Name
  51. for each "PostScript" PFM found.
  52.  
  53. After the database is created you can search it by selecting a PostScript
  54. Font Name form the pull-down box, Font Finder will show you the Windows
  55. Menu Name and Attributes that must be selected within Windows Apps to 
  56. obtain the desire PostScript font.
  57.  
  58. You could see a sample of the font by clicking in the Sample button or
  59. by pressing Alt-M. By pressing the Text button or pressing Alt-T you
  60. could enter the text you want to see displayed in the samples box, if 
  61. you just want to seee the PostScript font name displayed (which is the 
  62. Default) just press Text and leave it empty before clicking OK or 
  63. pressing enter.
  64.  
  65. If you select the "Always show sample" checkbox by either clicking on it
  66. or by pressing Alt-A then whenever you selected a new font it will auto-
  67. matically show you a sample of it.
  68.  
  69. If the programs tell you that it can not find a particular font to show
  70. then it is either not install in Windows or if you are using ATM the
  71. font has an entry in the ATM.INI, Aliases groups
  72.  
  73. If you press Alt-N then you will be able to scroll through the list with
  74. the arrow keys.
  75.  
  76. Alt-S or clicking on the search box will allow you to type any combinations
  77. of letters to get to a font quick.
  78.  
  79. If you add or remove fonts you should update your fonts database by 
  80. pressing the File button then locate the directory with the drive and
  81. directory navigation boxes (you could just also type in the full search
  82. path for your PFMs in the upper write corner box) where your PFM files 
  83. are and push Create Font Database. When you are back in Font Finder you 
  84. will be accessing the newly created or updated database.
  85.  
  86. Print can create reports of your fonts database either to files or to your
  87. windows default printer. when output goes to the printer you can also select
  88. the page size in inches. Font Finder can create four types of reports:
  89.  
  90. 1.- PostScript Name = Windows Menu Name + Attributes
  91.     File name = WFONTS-P.TXT when ouput to disk
  92.  
  93. 2.- Windows Menu Name + Attributes = PostScript Name
  94.     File name = WFONTS-W.TXT when ouput to disk
  95.  
  96. 3.- PostScript Name, DOS File Name
  97.     File name = WFONTS-F.TXT when ouput to disk
  98.  
  99. 4.- PostScript Name, Sample 
  100.     File name = Only to Printer
  101.  
  102.  
  103. 1.- PostScript Name = Windows Menu Name + Attributes
  104.     File name = WFONTS-P.TXT
  105.  
  106. PostScript Name                   = Windows Menu Name    +     Attributes
  107. -------------------------------------------------------------------------
  108. ItcKabel-Bold ..................... ITCKabel Medium .................. B
  109. ItcKabel-Book ..................... ITCKabel Book .................... R
  110. ItcKabel-Demi ..................... ITCKabel Book .................... B
  111. ItcKabel-Medium ................... ITCKabel Medium .................. R
  112. ItcKabel-Ultra .................... ITCKabel Ultra ................... R
  113.  
  114. This reports shows that to get the PostScript font ItcKabel-Bold you must
  115. select ITCKabel Medium from the application font menu and check the bold
  116. attribute, this list is sorted by PostScript Font names.
  117.  
  118.      R = Roman or No attribute selected
  119.      B = Bold
  120.      I = Italic or Oblique
  121.     BI = Bold-Italic or Bold-Oblique
  122.  
  123. 2.- Windows Menu Name + Attributes = PostScript Name
  124.     File name = WFONTS-W.TXT
  125.  
  126. Windows Menu Name   +    Attributes = PostScript Name
  127. ------------------------------------------------------------------------
  128. ITCKabel Book ............... B ..... ItcKabel-Demi
  129. ITCKabel Book ............... R ..... ItcKabel-Book
  130. ITCKabel Medium ............. B ..... ItcKabel-Bold
  131. ITCKabel Medium ............. R ..... ItcKabel-Medium
  132. ITCKabel Ultra .............. R ..... ItcKabel-Ultra
  133.  
  134. This one tell you for example that if you select ITCKabel Book from the
  135. application font menu with the bold attribute you will be getting the
  136. PostScript font ItcKabel-Demi, this list is sorted by Windows-Menu names.
  137.  
  138. 3.- PostScript Name, DOS File Name
  139.     File name = WFONTS-F.TXT
  140.  
  141. PostScript Name                                            DOS File Name
  142. ------------------------------------------------------------------------
  143. ItcKabel-Bold ............................................. KBB_____.PFM
  144. ItcKabel-Book ............................................. KBW_____.PFM
  145. ItcKabel-Demi ............................................. KBD_____.PFM
  146. ItcKabel-Medium ........................................... KBM_____.PFM
  147. ItcKabel-Ultra ............................................ KBU_____.PFM
  148.  
  149. This one tells you that the Windows metric file for font ItcKabel
  150. Bold is KBB_____.PFM, the printer font file will be the same with a .PFB
  151. extension and the Adobe font metric with a .AFM extension. This list is
  152. sorted by the PostScript Font name.
  153.  
  154. 4.- PostScript Name, Sample
  155.  
  156. This one will only work to your printer and you will get the PostScript
  157. font name in 12 points courier follow by 14 points PostScript font name
  158. in the font face. If you have enter custom text in the main Font Finder
  159. screen (you can also modify or enter new custom text in the print module)
  160. them this will be the source for the sample text. If what you just want
  161. too see is the PostScript Font Name in the font face just make sure
  162. the custom text string is empty.
  163.  
  164. Even if you have 1000 fonts in your database the program will only print
  165. those that are installed under Windows you will not get blank lines or
  166. errors telling you any font is not installed. (if you use Font Manager
  167. by Dennis Harrington you could install only those for which you want to
  168. get a catalog)
  169.  
  170. Notes:
  171.  
  172. When I was formating the output reports I found that even using ATM
  173. (V 2.02) when I switched from HP Laserjet mode to PostScript mode the
  174. reports would change so I included an input box where the user can
  175. change the page lenght in inches. You will have to experiment with
  176. this until you get the proper output for certain ATM settings and
  177. Laserprinter mode.
  178.  
  179. WIth a Fujitsu RX7100PS and ATM using the pre-built fonts, I would print
  180. the first three reports in the Printer's PostScript mode and the Catalog
  181. in HP Laserjet mode. I Strongly suggest you print the catalog in your
  182. printer HP mode.
  183.  
  184. If you have any comments or suggestions please Email them to me.
  185.  
  186. POSTSCRIPT FONT FINDER was written by Ivan Gonzalez and is uploaded to
  187. Compuserve as freeware. 
  188.  
  189. This program is provided "AS IS".  No Warranties!
  190.  
  191. Anybody can distribute Font Finder freely as long as this DOC file
  192. is included and not charge is made for it.
  193.  
  194. Ivan Gonzalez
  195. CIS 72540,433
  196.